<?php  
class faq extends CI_Controller {
function faq()
         {
   parent::__construct();
    
    $this->load->model('faq_model');
	$this->load->helper("url_helper");
    $this->load->model("common_model");
    session_start();

    //session_start();

       }
	 
	public function index(){
		 $result=$this->common_model->getKeywords('faq'); 
		 $data['keywords']=$result;
		 $questans=$this->faq_model->getquestionans();
	     $data['questans'] = '';

		 if($questans!=false){
			$data['questans']=$questans;
		 }
		 
		 $this->load->view('faq',$data);
    }
}

 